package com.hirsi.module.department.convert;

import com.hirsi.module.department.entity.Department;
import com.hirsi.module.department.vo.EditDepartmentVo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface DepartmentConvert {

    DepartmentConvert INSTANCE = Mappers.getMapper(DepartmentConvert.class);

    EditDepartmentVo departmentToEditDepartment(Department department);

    Department editDepartmentVoToDepartment(EditDepartmentVo vo);
}
